#ifndef __CONTROL_H
#define __CONTROL_H
#endif

#define BUT1 RA0
#define BUT1_PORT PORTA

#define BUT2 RA0
#define BUT2_PORT PORTA

#define BUT3 RA0
#define BUT3_PORT PORTA

uint_8 control_pressed;

const uint_8 control_none_pressed = 0;
const uint_8 control_but1_pressed = 1;
const uint_8 control_but2_pressed = 2;
const uint_8 control_but3_pressed = 3;

void control_init();
void control_update(uint_8 ms); // entprellen
uint_8 control_getResult();